package com.fbli.service;

import com.fbli.pojo.Consult;
import com.fbli.pojo.Knowledge;
import com.github.pagehelper.PageInfo;


import java.util.List;

public interface ConsultService {
    void insert(Consult consult);

    void deleteByPrimaryKey(long[] consultIds);

    void updateByPrimaryKey(Consult record);

    Consult selectByPrimaryKey(int consultId);

    List<Consult> selectAll();

    List<Consult> selectConsult(String keyword);

    PageInfo<Consult> selectPage(Consult consult, int pageNum, int pageSize);
}
